$ git clone https://github.com/vulf/CVE-2021-41773_42013
$ cd CVE-2021-41773_42013
cd to the directory of your choice
$ docker build -t vuln_apache .
$ docker run -d vuln_apache
NOTE: The httpd.conf
files are configured to be vulnerable to RCE by default. For only Path Traversal, read this.
- Comment the following line in
httpd.conf
LoadModule cgid_module modules/mod_cgid.so